package me.khrystal.rxnews.module.video.presenter;

import me.khrystal.rxnews.base.BasePresenterImpl;
import me.khrystal.rxnews.module.video.view.IVideoPlayView;

/**
 * usage:
 * author: kHRYSTAL
 * create time: 16/5/1
 * update time:
 * email: 723526676@qq.com
 */
public class IVideoPlayPresenterImpl extends BasePresenterImpl<IVideoPlayView,Void>
        implements IVideoPlayPresenter{

    public IVideoPlayPresenterImpl(IVideoPlayView view,String path) {
        super(view);
        mView.registerScreenBroadCastReceiver();
        mView.palyVideo(path);
        mView.showProgress();
    }
}
